package org.tmsps.ne4spring.utils.api;

public class PutGetStringTools {
	
	static String origin = "region, classify, comName, name, number,time, payType";

	
	static final String getModel = "String %s = srh.getString(\"%s\");";
	static final String putModel = "srh.put(\"%s\",%s);";

	public static void main(String[] args) {
		String[] splits = origin.split(",");
		for (String string : splits) {
			string = string.trim();
			System.err.println(String.format(getModel, string, string));
		}
		System.err.println();
		for (String string : splits) {
			string = string.trim();
			System.err.println(String.format(putModel, string, string));
		}
	}
}
